package com.seven.system.dao;

import com.seven.enity.Role;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author longlong
 * @date 2024/3/8 16:06
 * description
 */

public interface RoleDao {

    List<String> selectByUserId(String userId);

    void deleteByUserId(String userId);

    void batchInsert(String userId, String[] roleIds);

    @Select("select * from acl_role")
    List<Role> selectList(Object o);
}
